SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}Ober-Ramstadt{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}' OR prCity = 'Ober-Ramstadt' OR prZip = 'Ober-Ramstadt' OR prStreet LIKE '{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}Ober-Ramstadt{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}' OR prCountry = 'Ober-Ramstadt') AND (prLocation LIKE '{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}Germany{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}Germany{667ce8d7b637b67eef66b2b89315347556c298c2162fb49f92eb039f585cbaa2}' OR prCountry = 'Germany')